﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DeviceSDK.LED.NuoWa.JT100
{
    public enum CmdType
    {
        None=-1,
        BrightCtrl = 7,
        CardNameOperate = 0x7e,
        ClearFiles = 0x7c,
        CtrlMainBoardPower = 0x84,
        CtrlMultFunCardPower = 0x86,
        CtrlScreenPower = 0x25,
        CtrlUpdateSpecRegionDisplay = 0x88,
        GetCurrentDisplayScreenShot = 0x80,
        GetLatticeScreenData = 130,
        HeartBeat = 0,
        IdentifyAndConsultSecurity = 0x70,
        OpenCloseScreen = 5,
        PointDetect = 11,
        ReadBaseParameter = 0x27,
        ReadBrightCtrlParameter = 0x2b,
        ReadBrightParameter = 0x51,
        ReadConnectParameter = 0xf1,
        ReadCurPlayAllContent = 0x3a,
        ReadCurPlayContent = 0x2d,
        ReadCurrentVoltage = 0x34,
        ReadDeviceStatus = 1,
        ReadEnvironmentParameter = 0x29,
        ReadErrorPointInfo = 0x36,
        ReadPointDetectParameter = 0xea,
        ReadVersion = 0x23,
        RecvErrorPointFileResult = 0x39,
        ReplyBrightCtrlResult = 8,
        ReplyCardNameOperate = 0x7f,
        ReplyClearFiles = 0x7d,
        ReplyCtrlMainBoardPower = 0x85,
        ReplyCtrlMultFunCardPower = 0x87,
        ReplyCtrlScreenPowerResult = 0x26,
        ReplyCtrlUpdateSpecRegionDisplay = 0x89,
        ReplyDeviceStatus = 2,
        ReplyGetCurrentDisplayScreenShot = 0x81,
        ReplyGetLatticeScreenData = 0x83,
        ReplyIdentifyAndConsultSecurity = 0x71,
        ReplyOpenCloseScreenResult = 6,
        ReplyPointDetect = 12,
        ReplyReadBasePara = 40,
        ReplyReadBrightCtrlPara = 0x2c,
        ReplyReadBrightParameter = 0x52,
        ReplyReadConnectParameter = 0xf2,
        ReplyReadCurPlayAllContent = 0x3b,
        ReplyReadCurPlayContent = 0x2e,
        ReplyReadCurrentVoltage = 0x35,
        ReplyReadEnvirPara = 0x2a,
        ReplyReadErrorPointPerInfo = 0x38,
        ReplyReadErrorPointUintSize = 0x37,
        ReplyReadPointDetectPara = 0xeb,
        ReplyReadVersion = 0x24,
        ReplyResetDeviceResult = 0x0e,
        ReplyRestoreFactoryResult = 0x22,
        ReplySendFile = 0xf9,
        ReplySendFileContent = 0x14,
        ReplySetBaseParaResult = 0x1a,
        ReplySetBrightCtrlParaResult = 0x18,
        ReplySetBrightParameterResult = 80,
        ReplySetBrightTimeSegmentResult = 0x44,
        ReplySetConnectParaResult = 0xed,
        ReplySetDisplayListResult = 0x1c,
        ReplySetEmergencyPlayResult = 0x31,
        ReplySetEnvirCtrlParaResult = 0x16,
        ReplySetFileNameResult = 0x12,
        ReplySetInputSourceResult = 30,
        ReplySetInsertPlayContentResult = 0x33,
        ReplySetListTimeSegmentResult = 0x42,
        ReplySetOperDurPowerUnnormal = 0xf8,
        ReplySetOperDurTempUnnormal = 0xf6,
        ReplySetPointDetectParaResult = 0xe9,
        ReplySetTimeResult = 10,
        ReplySetVirtConnCheck = 0xf4,
        ReplyStopEmergencyPlayResult = 0x20,
        ReplyTestCtrlResult = 4,
        ReplyTimerSwirchScreen = 0x8b,
        ReplyUpdateClientSoft = 0x91,
        ReplySetVirtualCheck=0xf4,
        ReplaySetLedCheck=0x0c,

        ResetDevice = 13,
        RestoreFactory = 0x21,
        SendFileContent = 0x13,
        SetBaseParameter = 0x19,
        SetBrightCtrlPara = 0x17,
        SetBrightParameter = 0x49,
        SetBrightTimeSegment = 0x43,
        SetConnectParameter = 0xec,
        SetDateTime = 9,
        SetDisplayList = 0x1b,
        SetEmergencyPlay = 0x30,
        SetEnvironmentCtrlPara = 0x15,
        SetInputSource = 0x1d,
        SetInsertPlayContent = 50,
        SetListTimeSegement = 0x41,
        SetOperDurPowerUnnormal = 0xf7,
        SetOperDurTempUnnormal = 0xf5,
        SetPointDetectParameter = 0xe8,
        SetSendFileName = 0x11,
        SetVirtConnCheck = 0xf3,
        StopEmergencyPlay = 0x1f,
        TestCtrl = 3,
        TimerSwirchScreen = 0x8a,
        UpdateClientSoft = 0x90,
        SetLedCheck=0x0b
    }


    //清理文件类型
    public enum CleanFileType { 
        AllMedia=0,
        NoUse=1,
        AllFile=2,
        UpdateFile=3
    }


    //开关屏控制
    public enum ScreenState
    { 
        Fail,
        Open=1,
        Close=2
    
    }

    //虚拟检测开关
    public enum VirtualCheckState
    { 
        Open=1,
        Close=0
    }
}
